<!DOCTYPE html>
<html lang="en">
<head>
    <title>SAP Network Monitoring</title>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="/vendor/bootstrap/bootstrap.min.css" />
    <link rel="stylesheet" href="/vendor/bootstrap/bootstrap-responsive.min.css" />
    <link rel="stylesheet" href="/vendor/bootstrap/bootstrap-multiselect.css">
    <link rel="stylesheet" href="/static/css/matrix-style.css" />
    <link rel="stylesheet" href="/static/css/matrix-media.css" />
    <link href="/vendor/font-awesome/css/font-awesome.css" rel="stylesheet" />

</head>
<body>

<!--Header-part-->
{{>topHeader}}
<!--close-Header-part-->

<!--sidebar-menu-->
<div id="sidebar"> </div>

<div id="content">
    <div id="content-header">
        <div id="breadcrumb"> <a href="/" title="返回首页" class="tip-bottom"><i class="icon-home"></i> 首页</a> <a href="" class="current"></a> </div>
        <!--<h1>数据分析</h1>-->
    </div>
    <div class="container-fluid">
        <!--<hr>-->
        <div class="panel-header">
            <form class="form-inline" method="post" action="#">
                <div class="row-fluid formLine">
                    <span>服务器API地址:</span><input type="text" id="apiAddress" readonly="readonly" value="{{#result}}{{#data}}{{apiUrl}}{{/data}}{{/result}}" />
                </div>
                <div class="row-fluid formLine">
                    <span>当前TOKEN:</span><input type="text" id="tooken" readonly="readonly" value="{{#result}}{{#data}}{{token}}{{/data}}{{/result}}" />
                </div>

            </form>
        </div>
        <div class="row-fluid">
            <div class="span12 installList">
                <div class="fullWidth">
                    <div class="widget-content nopadding">
                        {{#result}}{{#data}}
                        <a href="/api/install/download/{{token}}/linux32" class="btn btn-info">LINUX 32</a>
                        <a href="/api/install/download/{{token}}/linux64" class="btn btn-info">LINUX 64</a>
                        <a href="/api/install/download/{{token}}/win32" class="btn btn-info">WINDOWS 32</a>
                        <a href="/api/install/download/{{token}}/win64" class="btn btn-info">WINDOWS 64</a>
                        {{/data}}{{/result}}

                    </div>
                </div>

                <div class="widget-box collapsible fullWidth">
                    <div class="widget-title">
                        <a href="#collapse2" data-toggle="collapse">
                            <span class="icon"><i class="icon-time"></i></span>
                            <h5>配置监测点</h5>
                        </a>
                    </div>
                    <div class="collapse in" id="collapse2">
                        <div class="widget-content">
                                1. 按照本地操作系统类型点击上面的按钮下载sap-network-monitor.zip<br><br>
                                2. 解压sap-network-monitor.zip得到monitor的执行文件(sapmonitor/sapmonitor.exe)和配置文件(config.ini)<br><br>
                                3. 下载对应系统的niping，放入监测机器，并记下其所在路径<br>
                                    从哪里获得niping工具?<br>
                                    1） SAP服务器内核可执行文件目录中包含服务器操作系统对应的niping程序。<br>
                                    2） niping单独包含在SAPRouter安装包中，具体可参考<a name="saprouter.html" href="https://support.sap.com/en/tools/connectivity-tools/saprouter.html"><U>SAPROUTER</U></a>下载解压。（需S-User账号授权）<br><br>
                                4. 使用VI(Linux)或者UltraEdit(Windows)等文本编辑器修改配置文件config.ini, 并且以UTF-8无BOM格式保存。<br>
                                   修改[monitorInfo]的配置，如<br>
                                   ip = 10.0.1.112<br>
                                   name = XXX公司三河财务部<br>
                                   country = 中国<br>
                                   area = 华北<br>
                                   province = 河北<br>
                                   city = 三河<br>
                                   isp = 中国电信<br>
                                   修改[serverInfo]中nipingPath的配置为第三步记下的路径，如<br>
                                   nipingPath = c:/Users/kaiyi/Desktop/exe tt/niping.exe<br><br>
                                5. 配置成功修改后可以执行以下命令将SAP monitor程序配置成服务并启动<br>
                                   windows：<br>
                                   sapmonitor install<br>
                                   sapmonitor start<br>
                                   linux：<br>
                                   ./sapmonitor install<br>
                                   ./sapmonitor start<br><br>
                                6. 如果需要停止或者卸载SAP monitor, 执行以下命令:<br><br>
                                   停止监测命令：<br>
                                   windows：sapmonitor stop<br>
                                   linux：./sapmonitor stop<br><br>
                                   卸载sapmonitor服务：<br>
                                   windows：sapmonitor uninstall<br>
                                   linux：./sapmonitor uninstall<br>
                        </div>
                    </div>
                </div>
            </div>
        </div>


    </div>
</div>

<!--Footer-part-->
{{>bottomFotter}}
<!--end-Footer-part-->
<script type="text/javascript" src="/static/js/matrix.install.js"></script>
</body>
</html>
